package com.example.mapper;

import com.example.entity.Goods;
import com.example.entity.GoodsVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GoodsMapper {
    List<Goods> findAll(); //获取所有商品列表

    List<GoodsVo> findGoodsVo();

    GoodsVo findGoodsVoByID(int id);
}
